﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tInputSet")]
[XmlRoot("inputSet", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class InputSet : BaseElement
{
    /// <remarks/>
    [XmlElement("dataInputRefs", DataType = "IDREF")]
    public string[] DataInputRefs { get; set; } = default!;

    /// <remarks/>
    [XmlElement("optionalInputRefs", DataType = "IDREF")]
    public string[] OptionalInputRefs { get; set; } = default!;

    /// <remarks/>
    [XmlElement("whileExecutingInputRefs", DataType = "IDREF")]
    public string[] WhileExecutingInputRefs { get; set; } = default!;

    /// <remarks/>
    [XmlElement("outputSetRefs", DataType = "IDREF")]
    public string[] OutputSetRefs { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("name")]
    public string Name { get; set; } = default!;
}
